package io.framework.modules.pollutionsource.dao;

import io.framework.common.dao.BaseDao;
import io.framework.modules.pollutionsource.entity.TBasPollutionlabeldirEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 基础-污染源标签年份表名录（重点排污单位，环统单位）
 *
 * @author Gujq email
 * @since 1.0.0 2020-03-24
 */
@Mapper
public interface TBasPollutionlabeldirDao extends BaseDao<TBasPollutionlabeldirEntity> {

    List<TBasPollutionlabeldirEntity> getList(Map<String , Object> params);

    /**
     * 坐标信息
     * @param params
     * @return
     */
    List<TBasPollutionlabeldirEntity> getCoordList(Map<String , Object> params);

    /**
     * 污染源各区情况
     * @return
     */
    List<Map<String,Object>> getRegionCount();

    /**
     * 污染源类型数量
     * @return
     */
    List<Map<String,Object>>  getWryRegionTypeCount();
}